third-party-exp-api icon

third-party-exp-api

(0 reviews)

GMT Print Card

Description: This API is used to print the instance issuance card.

The experience API (third-party-api) will push the requests to third-party-prc api which sends the request to gmt-sys-api and responds back to the channel.

Mulesoft Request:

Headers:

Mandatory Headers: x-correlation-id, client_id, Authorization, x-channel-id, x-bank-id

Optional Headers: x-sub-channel-id, x-user-id, x-debug-flag, x-customer-id, client_secret

Paramaters:

URI Params: NA

Query Params: NA

Content-type: application/json

Mulesoft Request:

Request Body:


{
  "cardToken": "T54887B5548",
  "cardType": "DEBIT",
  "otpType": "N",
  "printerType": "ELP01"
}

Mulesoft Response:

Success Response: (200)

{
  "status": {
    "success": true,
    "code": "200",
    "arabicMessage": "تمت العملية بنجاح",
    "englishMessage": "The Operation has been Successfully Completed"
  }
}

Sample Error Response:

400 :

{
    "success”:  false,
    "code”:  500,
    "arabicMessage”: "",
    "englishMessage":"Bad Request"
}

Reviews